package com.tangtang.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tangtang.common.utils.PageUtils;
import com.tangtang.gulimall.product.Vo.AttrWithattrVo;
import com.tangtang.gulimall.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author tangtang
 * @email a1104707271@vip.qq.com
 * @date 2020-09-11 15:22:08
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    //直接返回所有的属性
    PageUtils queryPage(Map<String, Object> params);

    //根据id查询返回相应的属性
    PageUtils queryPage(Map<String,Object> params,Long catagroyid);

    List<AttrWithattrVo> getallattrWithattr(Long catelogId);
}

